{% extends "templates/base.html" %}

{% block the_body %}
<h2>Say hello to App Engine</h2>


<form action="/" enctype="multipart/form-data" method="post">
	<p>Please enter your title</p>
    <p><input type="text" name="room_title"></p>
	<p>Please enter your description</p>
	<p><input type="text" name="room_description"></p>
	<p>Please enter your price</p>
	<p><input type="text" name="room_price"></p>
	<p>Please enter your location</p>
	<p><input type="text" name="room_location"></p>
	
	
	
    <input type="submit" value="Add!" name="addRoom">
	 <p>Second button</p>
	 <input type="submit" value="Display Rooms!" name="displayRoom"
	 onclick= "window.location='/post'; return false;"/>
	 
	  <input type="submit" value="Display Message!" name="displayMessage"
	 onclick= "window.location='/json/generate_rooms'; return false;"/>
	 
	 <div><label>Upload Image:</label></div>
          <div><input type="file" name="img"/></div>
		  
		  
	<input type="submit" value="Upload Picture" name="displayMessage"
	 onclick= "window.location='/upload_form'; return false;"/>
         
	 
	 
</form>
{% endblock %}
